package com.xinghanlaser.applet.vo.applet;

import com.xinghanlaser.applet.base.common.annotation.PhoneValidated;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * <p>
 *
 * <p>
 *
 * @author: mftuo 陀铭峰
 * @since: 2024/5/8 11:00
 */
@Data
public class TopicPutVO {
    @NotNull(message = "工单ID不能为空")
    private Long id;

    @ApiModelProperty(value = "联系人")
    private String contactUser;

    @ApiModelProperty(value = "联系人电话")
    @PhoneValidated(message = "手机号格式不正确")
    private String contactPhone;

    @ApiModelProperty(value = "联系地址JSON")
    private String contactAddress;

    @ApiModelProperty(value = "问题描述")
    private String problemDesc;

    @ApiModelProperty(value = "图片地址JSON")
    private String pictures;
}
